package.path = "./src/?.lua"
cc.FileUtils:getInstance():setPopupNotify(false)

require "config"
require "cocos.init"

local function main()
	-- 640 为图片宽度
	cc.Director:getInstance():setContentScaleFactor(640 / display.width)
    require("app.MyApp"):create():run()
end

local status, msg = xpcall(main, __G__TRACKBACK__)
if not status then
    print(msg)
end
